package com.bynk.bynk_demo.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value = "user")
public class User {

    @TableId(type = IdType.AUTO)
  private Integer id;
  private String name;
  private String sex;
  private String tel;
  private String pd;
  private Integer fee;


  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public String getTel() {
    return tel;
  }

  public void setTel(String tel) {
    this.tel = tel;
  }


  public String getPd() {
    return pd;
  }

  public void setPd(String pd) {
    this.pd = pd;
  }


  public Integer getFee() {
    return fee;
  }

  public void setFee(Integer fee) {
    this.fee = fee;
  }

  public User() {
  }

  public User(Integer id, String name, String sex, String tel, String pd, Integer fee) {
    this.id = id;
    this.name = name;
    this.sex = sex;
    this.tel = tel;
    this.pd = pd;
    this.fee = fee;
  }

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("User{");
    sb.append("id=").append(id);
    sb.append(", name='").append(name).append('\'');
    sb.append(", sex='").append(sex).append('\'');
    sb.append(", tel='").append(tel).append('\'');
    sb.append(", pd='").append(pd).append('\'');
    sb.append(", fee=").append(fee);
    sb.append('}');
    return sb.toString();
  }
}
